$( function() {
    $.ajax({
        url: 'index.php/welcome/read/',
        dataType: 'json',
        success: function( response ) {
            $( '#readTemplate' ).render( response ).appendTo( "#records" );
        }
    });
});